20:00 “The difference between double and single brackets for subsetting data in lists”
“vector dataframes and lists”
“I think the pacing is great and I am understanding the material so far!”
“I think so far I am following the material, although it did take a while to grasp the difference between single and double brackets”
mutate()case_when()mutate(across())mutate()The mutate() function takes in the following arguments: the first argument is the dataframe of interest, and the second argument is a new or existing data variable that is defined in terms of other data variables.
I think of them like formulas in Excel. . . .
02:00 Try calcluating a new variable in penguins called body_mass_kg by dividing body_mass_g by 1000.
Confirm your conversion was correct by comparing body_mass_g and body_mass_kg.